package com.qys.livesMall.shop.modal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 店铺每日统计
 * </p>
 *
 * @author
 * @since 2023-11-06
 */
@Getter
@Setter
@TableName("h2_shop_statistics_everyday")
@Schema(name = "ShopStatisticsEveryDay", description = "店铺每日统计")
public class ShopStatisticsEveryDay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "店铺ID")
    private Long shopId;

    @Schema(description = "日期")
    private LocalDate dataDate;

    @Schema(description = "订单数")
    private Integer orderNum;

    /**
     * 店铺销量
     */
    @Schema(description = "店铺销量")
    private Integer salesVolume;

    /**
     * 店铺销售额
     */
    @Schema(description = "店铺销售额")
    private BigDecimal salesAmount;

    @Schema(description = "充值金额")
    private BigDecimal reAmount;

    @Schema(description = "提现金额")
    private BigDecimal wlAmount;

    @Schema(description = "充值次数")
    private Integer reNum;

    @Schema(description = "提现次数")
    private Integer wlNum;

    @Schema(description = "充提差额")
    private BigDecimal difference;

    @Schema(description = "收益")
    private BigDecimal income;
}
